package com.zzyl.nursing.domain;

import java.util.Date;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import com.zzyl.common.annotation.Excel;
import com.zzyl.common.core.domain.BaseEntity;

/**
 * 预约登记对象 reservation
 *
 * @author ruoyi
 * @date 2025-08-28
 */
import java.time.LocalDateTime;
import java.util.Date;

@Data
@TableName("reservation")
public class Reservation extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */


        private Long id;

        /**
         * 预约人姓名
         */
        @Excel(name = "预约人姓名")
        private String name;

        /**
         * 预约人手机号
         */
        @Excel(name = "预约人手机号")
        private String mobile;


        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        @Excel(name = "预约时间", width = 30, dateFormat = "yyyy-MM-dd")
        private LocalDateTime time;

//
//    @Excel(name = "预约类型，0：参观预约，1：探访预约")
//    private LocalDateTime time;

        private Integer type;

        /**
         * 预约状态，0：待报道，1：已完成，2：取消，3：过期
         */
        @Excel(name = "预约状态，0：待报道，1：已完成，2：取消，3：过期")
        private String visitor;

        private String createBy;

        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        private Date createTime;
        private String updateBy;
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        private Date updateTime;
        private String remark;
        private Integer status;

}